<?php if($this->user): ?>
<div class="row-fluid right-menu">
    <div class="span12">
        <h5 class="btn-success caption align-center"><?= $this->__('My menu'); ?></h5>
        <?php if($this->admin): ?>
            <a href="/post/add"><?= $this->__('Add post'); ?></a><br>
            <a href="/post/user/<?= $this->user; ?>"><?= $this->__('My posts'); ?></a>
        <?php endif;  ?>
    </div>
</div>
<?php endif;  ?>